import 'package:FiduMart/generated/json/base/json_field.dart';
import 'package:FiduMart/generated/json/market_news_list_entity.g.dart';
import 'dart:convert';
export 'package:FiduMart/generated/json/market_news_list_entity.g.dart';

@JsonSerializable()
class MarketNewsListEntity {
	List<MarketNewsListContentList>? contentList;
	String? createTime;
	String? id;
	double? realWatchNum;
	String? shelfTime;
	double? sort;
	double? status;
	double? topFlag;
	String? typeId;
	double? watchNum;

	MarketNewsListEntity();

	factory MarketNewsListEntity.fromJson(Map<String, dynamic> json) => $MarketNewsListEntityFromJson(json);

	Map<String, dynamic> toJson() => $MarketNewsListEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MarketNewsListContentList {
	String? content;
	String? coverUrl;
	String? lang;
	String? newsDesc;
	String? title;

	MarketNewsListContentList();

	factory MarketNewsListContentList.fromJson(Map<String, dynamic> json) => $MarketNewsListContentListFromJson(json);

	Map<String, dynamic> toJson() => $MarketNewsListContentListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}